﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace VideoCache.Server.ViewModel
{
    public class SiteModel
    {
        public int Id { get; set; }
        [Required]
        [Display(Name="站点名称")]
        public string Name { get; set; }
        [Required]
        [Display(Name = "显示名称")]
        public string DisplayName { get; set; }
        [Required]
        [Display(Name = "网址")]
        public string Url { get; set; }
        [Display(Name = "允许下载")]
        public bool AllowDownload { get; set; }
        [Display(Name = "下载器")]
        public string Downloader { get; set; }
        [Display(Name = "拖动标签")]
        public string PositionTag { get; set; }
        [Display(Name = "播放器Id")]
        public string PlayerId { get; set; }
    }
}
